import { createI18n } from "vue-i18n"
import en from "./en-US"

const i18n = createI18n({
    locale: localStorage.getItem("lang") || "en",
    globalInjection: true,              // FIXME: ??, should remove?
    allowComposition: true,             // FIXME: ??
    legacy: false,
    messages: {
        'en-US': en,
    },
})

export default i18n;
